#!/usr/bin/env bash
# create cronjob for backup script
CRON='00 01 * * * /opt/itime/bin/openldap-backup.sh
00 02 * * * /opt/itime/bin/lam-backup.sh
'
(crontab -l 2>/dev/null || true; echo "$CRON" ) | sort | uniq | crontab
